package org.example.springboot.DTO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 图书推荐数据传输对象
 */
@Data
@Schema(description = "图书推荐数据传输对象")
public class RecommendationDTO {
    @Schema(description = "图书ID")
    private Long bookId;
    
    @Schema(description = "图书标题")
    private String title;
    
    @Schema(description = "作者")
    private String author;
    
    @Schema(description = "封面URL")
    private String coverUrl;
    
    @Schema(description = "平均评分")
    private BigDecimal avgScore;
    
    @Schema(description = "推荐分数")
    private BigDecimal recommendationScore;
    
    @Schema(description = "推荐类型")
    private Integer recommendationType;
    
    @Schema(description = "推荐类型描述")
    private String recommendationTypeDesc;
} 